#ifndef IO_H
# define IO_H

# include <stdio.h>
# include <sys/stat.h>
# include "eedit_mem.h"

typedef struct
{
  FILE* 	fd;
  char*		name;
  struct sBuffer* buffer;
  struct stat*	info;
}
sFile;

sFile*	statFile(const char*);
bool	readFile(sFile*);
bool	writeFile(sFile*);

#endif


